 IfNot DataFileExists "Cobl Main.esm"
	Message "COBl wasn't detected. Istallation can't continue."
	FatalError
EndIf

If DialogYesNo "Do you want to install the Sheep Wool plugin? It requires MMM to function."
	IfNot DataFileExists "Mart's Monster Mod.esm"
 		Message "Mart's Monster Mod.esm was not found. Cannot install the Sheep Wool plugin."
  		DontInstallPlugin "Basement for Cobl - Sheep Wool addition.esp"
	EndIf
Else
	DontInstallPlugin "Basement for Cobl - Sheep Wool addition.esp"
EndIf

If DialogYesNo "Do you want to install the Custom Plant Shows Harvest status plugin? It requires Harvest Flora 3.0 or better to function."
	IfNot DataFileExists "Harvest [Flora].esp"
		Message "Harvest [Flora].esp was not found. Cannot install the Harvest plugin."
		DontInstallPlugin "Basement for Cobl - My Custom Plants Show Harvested Status.esp"
	EndIf
Else
	DontInstallPlugin "Basement for Cobl - My Custom Plants Show Harvested Status.esp"
EndIf